package com.zhou.framework.jwt.model;

import com.zhou.org.dao.User;
import com.zhou.org.model.OrgTree;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 在线用户信息
 * @author lang.zhou
 * @since 2023/2/20
 */
@Data
@NoArgsConstructor
public class OnlineUser implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
    private Integer userId;

    private String key;

    /**
     * 上次活跃时间
     */
    private String activeTime;


    private String ip;

    /**
     * 操作系统
     */
    private String os;
    private String location;

    /**
     * 浏览器
     */
    private String browser;

    private String userName;
    private String realName;
    private List<OrgTree> parent;
}
